package com.roadmap.biz.search;

import java.util.List;

import com.roadmap.exception.ServerException;

public interface IFriendSearchEngine {
	/**
	 * retrieve friends according to user name and sex
	 * 
	 * @throws ServerException
	 */
	public List retrieveFriends(String username, char sex)
			throws ServerException;

	/** retrieve friends according to mail */
	public List retrieveFriends(String mail) throws ServerException;

}
